<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<!--
	Rss-aggregator php script : Aggregate rss feeds to display it as needed
	Visit http://www.rss-aggregator.com for more help.
	Copyright (C) 2008 DAHU.FR

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-->


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="author" content="Gaston BOUCHAYER" />
	<meta name="keywords" content="" />
	<meta name="description" content="" />
		<title>RSS-aggregator.com : Feeds aggregator for webmasters - Admin connection</title>
	<style type="text/css">
	body {
		margin: auto;
		font-family: Verdana, sans-serif;
		font-size: 12px;
	}
	div.logo {
		width : 300px;
		margin: auto;
	}
	div.principale {
		margin: auto;
		width: 300px;
		border: #990099 1px solid;
		padding-top: 20px;
		padding-bottom: 20px;
	}
	div.titre {
		font-size: 18px;
		font-weight: bold;
		text-align: center;
	}
	div.form {
		width: 221px;
		margin: auto;
	}
	div.erreur {
		color: #FF0000;
		width: 272px;
		margin: auto;
		font-size: 16px;
	}
	</style>
</head>

<body lang="fr" xml:lang="fr">


<div class="logo">
	<br />
	<img src="./logo.jpg" />
</div>
<br />

<div class="principale">
	<div class="titre">
		Admin login
	</div>
	<br /><br />
	<div class="form">
		<form action="admin.php" method="post" >
			<label>Password : <br /> <input type="password" name="Psw" id="Psw"/> </label>
			<input type="submit" id="Loguer" name="Loguer" value="Connect" />
		</form>
	</div>
	<div class="erreur">
<?php
	include('./fonctions/config.php');
	
	include('./fonctions/connexion.php');
	
	global $connexion;
	
	$requete1 = "SELECT CONid FROM RSSAconfig";
	$resultat1 = mysql_query ($requete1, $connexion);
	if ($resultat1)
	{
		while ($config = mysql_fetch_object ($resultat1))
		{
			if ($config->CONid != '' && file_exists($CHEMIN.'/install.php') == 'true')
			{
				echo 'For security issues, it\'s preferable to delete install.php';
			}
		}
	}

?>
	</div>
</div>


</body>
</html>